import {get,post} from '@/config/fetch'

export const login = (data)=>{
    return post(`login`,data)
}
export const register = (data)=>{
    return post(`register`,data)
}

export const editAppInfo = (data)=>{
    return post(`editAppInfo`,data)
}
export const getApps = (data)=>{
    return get(`apps`,{
        params: data
    })
}

export default {
    login,
    register,
    getApps,
    editAppInfo
}
// module.exports = {
//     login
// }